fix graph structure
fix mistakes, and fix struture of WSSeq