better unique var name in macro

better unique var and const name in macro.