Fix for unable to create new metadata