Fixed SmartyParser parameter, improved CS