fixing broken real_nozzle.py