fixing redis initializer