Revert "error: add assert()"

This reverts commit 904b914b464bc6807f33276ae852bd0c6f191a8c.
Revert "error: add assert()"

This reverts commit 904b914b464bc6807f33276ae852bd0c6f191a8c.