try to adopt muack, which is more strict

https://github.com/godfat/muack