fixed a crap bug