fix split button bugs