Fixed infinite loop derp