fixing ports