fixed issue for orders not deleting.