remove some resource