removing resources