fixed smarty path