Webapp stuck with "Key duplication when adding: httpModules"

Hi,

some fixes that should improve my situation with "Key duplication when adding: httpModules" problem

can you write what you want, I'll update it