fix metadata empty Extensions