delete some unused res