improve legend ux