fix semi,todo:reg(new line fixed)