call destructor after saving to redis