debug print order change