delete unused graph