fixed url validation for blank urls