add cross namespace support