adds url validation
use proper path syntax