read config finished