Remove spurious semicolons