fix mac device debug message