second legend correction