fixed legend
fixed figure