typo in function debug output