argv str to int bug fixed