awhen atoi returns 0 on invalid input we don't want that to count as valid