metadatagraph bug fix