avoid multiple calls to form_theme