fixing the port issue