Replace exit by back