Fix local_port