fixing blank pages per pre check