fixing some of the data graph stuff