Remove extra metadata