prevent nested templatePlugin from overwriting