fixed an issue where wrong timing values were recorded