fix gauge and piechart