Remove erroneous semicolons