add debug log warning