Fix a function name typo in debug print