fix tirival

 * fix typo
 * refactor shorter.
add noexcept