Fixed redis errors