finally, selected template compiles correctly