namespace support for templates, fixed usage