fixed dynamic changes in graph prob-Fuyao