delete old resources