change %d to %s to resolve 32 bit problem.  It appears that %s will behave correctly on 32 bit machines where %d will not