tweaks for logging