delete bug fix