error converting nanoseconds to seconds