Import controller: fixed the real bug (hopefully!)