Fixed embarrassing bug