i used kdiff (thank you polyducks!) to copy paste the codes from the new version to old version (part by part) and it is working! i still can't see where the problem was.
I'd like to see the old version sometime still, just so that I can maybe present a better message or try to detect the problem better in the future. You can wait until after the jam is over if you like, but please save the faulty file.