use marcro stack to workaround mongo header assert issue