corrected debugging client