change the string to int