check expire before persistence