updated smarty, fixed if autoload fails