Remove redundant URI path