smarty isset corrections