Fixes extra semicolons