fixed bug that made game completely unplayable.