fixed up metadata call