fix for order deletion