secondary url parsing fix