fixing ui_graph