Remove extra semicolons to avoid mis-parsing