fix some privacy leakage in logs