improved default content and error templates