Fixing local settings error