fix for misleading legend