improved number detection performance