fixing legends in live data