fix legend style