make uri matching a little less strict