corrected the problem of page entry removal