fixed bugs with crossover2