fixed ridiculous bug