error handling for malformed or non existant module