fix post to template