fix import module hook
Merge pull request #2 from benctamas/feat-startup-fix

Fixing some module import bugs