remove old resource