fix import with internal resolver