fixed some bugs && added contig ids viewing