fix Redis clean method