ok thanks but i figured it out myself, i did a -reindex and it finished, took 17 hours, let's see if it happens again now.
Next time it happens, try to use
reconsiderblock first (which already mentioned by @nc50lc) since it happens quickly and you don't need to wait 17 hours.