fix regression for second vs. millisecond change