remove broken reference in url