fixed my own stupid bug