Revert "using compact protocol"

This reverts commit ad370c5ba49a2d22d086769db85ca98fc1ab6393.