bad bug, still race conditions.