fix bug of nunberformatexceptoin