one-off fix that causes nw to crash on logout