import error correction