fixed debug issue (self/this related)