fix DBG macro unknown variable