Debug output cleanup