get timestamps correct