history graphs fixes