fix expiring value to be in seconds