fix theme lock expiry