debug code for crossover issues