fixed request uri parsing