Fixed a bug caused by the separation of the settings files