Get allowed metas
Refact meta
Refact get index attrs