ub: stub pre_reset and post_reset to fix oops