fixed dragcheck when editing an order.