delete some resouses