Changed wrapStr register usage