fix a bug when multi lines