fix debugging artifacts