Again some modifs to legend