fix smarty path