removing resources from imports