fix protocol command