fix protocol error
Merge pull request #1153 from dajohnso/fix_protocol_error

fix protocol error