disabled nested %template declared in different scope