fix response history logging