Exception: Unclosed '{' on line 3765