solved debug problem