fix port mapping