Fix removeMeta method