fix for incorrect debug statement on new debug session