added debug statements for issue I am encountering on PROD that I do not see in DEV