persist expire bug fix