fixed uninitialized arrays that would cause random segfaults on spinOnce and advertise