Fix import bookkeeping