record total bug fix