fix an undefined name buy importing config