fixed a freaaaaaaking bugggggg