try to fix undef-val/new debug msg system