check the target is not an url