Fixing legend url