fixed bug that caused invaders sample to be unable to run