fix number format exception