stop using templatedict