fixed syntax error on line 166 - too many brackets