fix metafunction ids