clean debugging code