fixing parallel analysis
parallel generation 
minor fixes