improved import error exception