fix host/port config