adjustments for api logging