fixed setting new template