remove dbg macro from mad_static