fixes config file