Revert "check parent for null before printing parent"

This reverts commit e2779b0b87270915fc77622e8b08a2e4af44f501.