mock redis fix