bugfix for protocol number