fix DropPagesCache func