Wrong sequence output (eliminating first char of each line)