change exit status for error