fixed game-breaking bug #43