catches bad imports