fixed typo contig->fragment; auto resize label