reset the stack top when CATCH_EXIT_CODE