fix expire page cache function