wrong local smarty implementation
internal smarty ok