small changes

* fix docs
* fix examples
* fix template
+ generated by parameter