support different versions of redis-server