fix docs and formatting from #137