I'm an idiot. fixed silly bug