add error process for Atoi