fixed relative uri bug