finally fixed bug in small_atof()