fix ports