fix spec with bad url