fix for slaveof redis 2.7+