deleteing old resources