fix misplaced closing bracket