delete some stuff which without resources like images and values