stopped trying to match more than the desired url (messy)