remove dependency to "amdefine"