mark handled for end