fixed check all in template