handling number format exception