updated extract meta to extract meta