hook_menu() doesn't work as expected. How can I fix that? hook_menu() contains the following code.

//案件 &gt;　インポート設定 &gt; GMC_Subaccountの追加
$items[FEED_MANAGER_MENU_PATH.'/import/%import_id/gmc_subaccount/add'] = array(
    'title' =&gt; 'GMCサブアカウントの追加',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('feed_manager_import_gmc_subaccount_edit', 2),
    'access arguments' =&gt; array('feed import gmc_subaccount edit'),
    'type' =&gt; MENU_LOCAL_ACTION,
    'file' =&gt; 'feed_manager.import_gmc_subaccount.inc',
);
//案件 &gt;　インポート設定 &gt; GMC_Subaccountの編集
$items[FEED_MANAGER_MENU_PATH.'/import/%import_id/gmc_subaccount/%store_id'] = array(
    'title' =&gt; 'GMCサブアカウントの編集',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('feed_manager_import_gmc_subaccount_edit', 2, 4),
    'access arguments' =&gt; array('feed import gmc_subaccount edit'),
    'type' =&gt; MENU_CALLBACK,
    'file' =&gt; 'feed_manager.import_gmc_subaccount.inc',
);


When I visit /import/%import_id/gmc_subaccount/%store_id, it does't show the edit page, but the list page, which is defined from the following code.

//案件 &gt;　インポート設定 &gt; GMC_Subaccount_設定
$items[FEED_MANAGER_MENU_PATH.'/import/%import_id/gmc_subaccount'] = array(
    'title' =&gt; 'GMCサブアカウント',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('feed_manager_import_gmc_subaccount_list', 2),
    'access arguments' =&gt; array('feed import gmc_subaccount edit'),
    'type' =&gt; MENU_CALLBACK,
    'file' =&gt; 'feed_manager.import_gmc_subaccount.inc',
);


The code I use to create the link to the edit page is the  following.

$row['data'][] = l(t('Edit'), FEED_MANAGER_MENU_PATH.'/import/'.$data-&gt;import_id.'/gmc_subaccount/'.$data-&gt;store_id.'/edit');


How can I fix the fact that link shows the wrong page?
It was very simple problem-

I just added following line to my .module file-

function store_id_to_arg($args){
if(empty($args)){ drupal_goto('&lt;front&gt;'); }
return $args;
}


Thanks for your help.