firefox legend fix