reset should not be inlined