fix redis communication protocol issue