fixed base_port issues