Fixed spacing bug for single-line output mode