Fix high/low ports settings