fix special number bugs