clean up semicolons