Corrected uri splitting