fix multi redis version support bug