fix bracket error