Well I'm stupid, fixed moronic bug