fix templates deleted gop & dems