seperate bug analysis and bug preprocessing