bad page handling