error checking pages