bug fix to pivot urls