fixed spin lock (no more lost frames)