fixed legend display