fix misplaced brackets