fix up d_split.cpp