fixes ts area sum bug