fixed really fucking ugly bug