Fixed error in server after changed the way store/load from redis.