Fixing pagination path