fix bug when only adding one page

Unable to add one page at a time fix