removing old resources