fix urls to accept dashes