fixing pagination path