This fixes a mulit-line output bug