time analysis cleanup