Add delete function for order
Some small fixes