fixed error in Theme::get_template()