change the settings system from array to object