removal of nil pages