fixing graph on sensor pages