fixed bug in HMManalysis, to create nonexisting target folders