bug fix on debug message
(#388)