fix sample index template load method call