fix port config