Remove duplicated resource uri prefix