fixed detail legend