fixed a bug that I didnt even notice