Fixed a redis task issue