fixed bug with initial template dropdown