fix the splite method incorrected.