fixed macro compile error