remove unnessesairy semicolons