fixed bugs in runAnalysis.R