fixing ports and player