fixed bug where nonce was sometimes 1 character below min