Fix up legends