cleaning up input of title and uri