to fix lineChart tooltip