fix bracket syntax