bug fix crossOverCheck