better error handling for re-imports