Bug fix error when no module is set
Bug fix error when no module is set