delete some resource