Bugfix when printing port and stuff