remove old ressource ref