remove unneeded macro def