debug message removal