fixed persistent message storage issue through redis