added exception handling for module import