fix state tags for plots