fixing rename_contigs