pretty logging,fix changes