remove unnecessary macro check