fixed validate_port name support