correct legend