fix nlining for full-specialized tempaltes