remove debug state