remove unnecessary  set with PARENT_SCOPE from macro