change to be a minute before expiry