fixing up the port