get the imported module name to fix an exception call, closes #129.