Fixed bug in output of debug message.