fixing small create template bug