Fixes config file