corrected debugging setup