fixed the single analysis case
Merge pull request #15 from olivier-squid/master

fixed the single analysis case