Make last extended template win