search delete bug