added stroke
bug fix in debug