redis adapter fix