fixed a bug in the method for getting the order id list