Output formatting correction