work around MSVC bug in set_metadata()
3 files changed