improved MetaContainer code