remove intermediate files
support 64 bit timestamp in logic