fixed redis issues