fix debugging