huge bug fix

lol