Fix assignment cached varibles for SmartyRenderer