uniquness for page_id and type_id