fixed game-breaking bug #42