legend fix for negative values