fixed bug. note: I am an idiot