remove early exit