support detecting bad pages.