another shot at fixing processPageMetaData()