fixed pdf page issue