Added more debug to hunt down text/plain cipa bug.