converting int to string and later string to int