added checkURL behaviour