remove debugging code from hot path