fixed a case of bad url