fixed the typo, added debug logging
following along