fixed a f'in stupid bug that made everything not work