fix the URL generation and make it require a title