fix resource setup as subschema now have no id