Fix settings.save