add missing meta, fix invalid attr lookups