tweak debug logging on enhancement