solved read-pairs and contigs problems