Changing %d to %s to see if thats the issue.