rename detecttime to reporttime