[fix] fixes related to the parsing of the protocol data