map legend fix