split bug fix w/ unit test