Fixed redis error