Fixed nonreturn error due to no asserts