fixed some bad redis stuffs