fix smarty version