wrong replace on namespace