re #856 - removing debug code