workaround for metadata service