Fix a bug for multiple url.