[#41] fix support fo placeholders and document-template