fixing deletiong on expiration