fix off-by-1000 error in timestamp frequency calculation