remove JC/Patrick debug code