fixed problem in splitting criteria