prepare to support redis client