check if really page_ids exists