remove performance problems when pages are removed from page cache. Fixes #141