fixed bad url issue