fix for redis base