Minor bug fix in gauss output