Fix url validation. fixes #97