Fixed ridiculous bug