fixed delete_goal