fixed pause bug in averages