fixed smarty