Fixes the settings