fixed bad macro build error