fixed legend format