fix stack state, bezier to BezierUtil