fix redis access