bug invastigation