Fixed some output bugs