add correct semicolons