defensive copy timestamp
removed unused import
removed unused import