corrected timeval diff