fix weird count bug when calculatiung sweet ux size