fix debug message #2
print disconnect event in samples #2