clear the resource?