analysis bug fix