graph and context clean