added some debug state to help fix a problem