Fixed internal representation of exit code