reducing debug logs