Fixed redis issues