fix legend and title