Fix redis adapter