replaced return of something in str_to_int