Kohana + smarty and its working