return URI as string instead of boolean value