another attempt, url validation is so annoying