fixed printing wrong port on startup