fixed missing port of print statement