ParseError thrown

syntax error, unexpected ']'