fix redis protobug && support null buf visits