remove unneeded semicolons