Fix redis generator