Fixed template failing