correct check for expiry
correct check for expiry