Remove repeated template