fix the split for nill issue