finish config file