add some url validation