fix printed output for gist support