namespace replacement