fixed url validation