fixed case when there is no order to process