account for null timestamps