fix bug when adding new modules
Merge pull request #81 from oerpub/58471926

fix bug when adding a new module