Corrected debugging