missed this part of the null count patch
add a debug state check at the end of hygen