diff --git a/admin/compiler/joomla_3/JControllerLegacy_import_custom.php b/admin/compiler/joomla_3/JControllerLegacy_import_custom.php
index ee70998cd..c1978d7f4 100644
--- a/admin/compiler/joomla_3/JControllerLegacy_import_custom.php
+++ b/admin/compiler/joomla_3/JControllerLegacy_import_custom.php
@@ -44,7 +44,7 @@ class ###Component###Controller###View### extends JControllerLegacy
// Check for request forgeries
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
- $model = $this->getModel('import');
+ $model = $this->getModel('###View###');
if ($model->import())
{
$cache = JFactory::getCache('mod_menu');
diff --git a/admin/compiler/joomla_3/JModelLegacy_import_custom.php b/admin/compiler/joomla_3/JModelLegacy_import_custom.php
index 3373ed786..93504ff17 100644
--- a/admin/compiler/joomla_3/JModelLegacy_import_custom.php
+++ b/admin/compiler/joomla_3/JModelLegacy_import_custom.php
@@ -49,7 +49,7 @@ class ###Component###Model###View### extends JModelLegacy
*
* @var string
*/
- protected $_context = 'com_###component###.import';
+ protected $_context = 'com_###component###.###view###';
/**
* Import Settings
diff --git a/admin/models/ajax.php b/admin/models/ajax.php
index 66ae979c0..5c0df6c23 100644
--- a/admin/models/ajax.php
+++ b/admin/models/ajax.php
@@ -465,7 +465,7 @@ class ComponentbuilderModelAjax extends JModelList
$script['view'][] = "\n";
$script['view'][] = "\t\t";
$script['view'][] = "";
- $script['view'][] = "";
+ $script['view'][] = "";
$script['view'][] = "";
$script['view'][] = "";
$script['view'][] = "";