Another bug with smarty