fix timestamps saved to archive