Fixed bug with multiple metadata