remove some last semicolon