fix background issue for port