fix some rst issues

* use spaces for indent
* fix wrong function name