fixing atof