making sure graphics gets removed too