fixed a newbie bug XD