Fixed legend details.