getting rid of metadata