finish atoi