fixed wrong ports error