remove metagraph class