casting int to string correctly