fix metadata=metadata() name collision compiling with c++