update pathSimplify for cross site requests