fixed split bug