imports must not be handled recursively during resolve