Fix number of pages created on profile page