Fixed the profile pagination