Fix settings setup.