fix metadata for sugar orm