fixed last output bugs