Fixing legends.