fix bug introduced by debug breakpoint.