added href check