don't crash on malformed URI sequences