#4 set duplicated pages as invalid
#4 set pages which are duplicated as invalid