fix bug to convert int to string