attempting a legend fix