fixed drunken logic check for urls matching