removed trailing slashes from origin paths