fixing local save