fix redis communication protocol bug