fixed exit codes