fix localsettings