#143: Fixed template wrong order