Fix typo, add extra debugging