Fix absolutely ridiculous bug