fix devices not expiring