fixed editgoal and edituser bugs