fixed stupid bug I couldn't see for 3 hrs