fixed some issues when adding an order
delete an order

:panda_face: