reference url checking