fixed redis stuff