fix bug for order query interface