fix legend and vacant