Fix crash contig