replace Debug Print State