Fix to make metadata run