Fixed legend doc