Fixed a bug in initModule() from app.js