fixed splitting bug