fixes timestamps