Fixed splitting bug