adjusting logo and legend