documentation and template fix