fix bug with dynamic module names
Merge pull request #7 from jonbretman/fix-dynamic-module-names-bug

fix bug with dynamic module names