get config from self.config