comparing the correct url