first resoolve meta then do rest