trim empty line.