moved debug message