support all integers for atoi