fixing processPageMetaData()