remove assigned resoure after import