fixed legend, but it's still upside down