bug fix at corecmd::createSmartyCache()