fix multi define bug