order delete bug fix