workaround some nutty race condition