bug replacement