clean up of $originalOrders and saveorder()