add rescue for import