pop0 over pop so as not to whack ref counts early