fixed moral_graph method