port config fix