fixed redis error