hopefully fixing xcdatamodeld with resource ref