fix parsing problem in remote url