set global to remove leading .. in urls