Import error correction