fixed bug that cause invaders sample to be unable to run