remove dependency on redis 3