Change list syntax to not clash with index syntax