fix redis version check