fixed extra character on some lines