Fixing exit code error.