small fixes in legend