fixed bug in recombination