opened autoload for smarty