fix example to use http