fix splite logic bug