fix get config file