add debug message in the communication module