fix for noobish bug