bugfix in legend