fix nozzle-version function