modify more like connect-redis