fix line output