tmp add debug warnings