Fix for API time logging