add check url is valid