removes exit status for warning