fix split bugs