Fixed print order problem