fix the version exit code