Fix  syntax error, unexpected '[' on line 552