fixed ports error