correct exit status