port communication fix