This question says the following: Let $R$ and $S$ be local rings with the maximal ideals $M$ and $N$, respectively. Assume that $R\subset S$ and that $S$ is a finitely generated $R$-module. If there exists a proper ideal $I$ of $R$ such that $I=IS \cap R$ and the canonical image of $R/I$ in $S/IS$ equals $S/IS$, then prove that $R=S$.
Now, I am confused about the above result, since it seems that the following is a counterexample: $R=\mathbb{C}[x(x-1)]_{\langle x(x-1) \rangle}$, $S=\mathbb{C}[x]_{\langle x \rangle}$, $I=M=Rx(x-1)$. Notice that $IS=N=Sx$ and then $I=IS \cap R$. If I am not wrong, since $R \subseteq S$ is algebraic (actually, $S$ is finitely generared as an $R$-module by $1,x$), we obtain that $R/I \subseteq S/IS$ is algebraic. Moreover, this extension is actually $R/M \subseteq S/N$ and it is a field extension of degree two (it is enough for us that it is algebraic field extension). Also, $R/M = \mathbb{C}$ and $S/N = \mathbb{C}$. Since there are no proper algebraic extensions of $\mathbb{C}$, we get that $R/M = S/N$. Therefore, all the conditions of the theorem are satisfied, hence the conclusion $R=S$, but here clearly $R \neq S$.
Question: Where is my error?
Any hints and comments are welcome! Thank you.