fixed a case where a url was visited but under a different name