do not crash if protocol is incorrect