Correction of many bug about color of nodes while adding edges