- fix bug. never use cnonce as nonce
- fix typo
- fix format