minor bug fix to run analysis