Fix the error that mainDetect has passed error paramters to CallGraphAnalysis