fixing local settage