- adding check for missing page