Fixed wrong URL validating.