metadata get instead of pop in return