Corrected variable name in debug message.