Fix smarty config