remove unrelated resource