fix adding templates, and check before post