fixed up the split list code