I am currently working my way through a proof of the following statement: Let $X$ be an integral, affine $k$-Variety of dimension $n$. Then there exists a surjective morphism $X\rightarrow \mathbb{A}_k^n$ with finite fibres.
The book containing the proof in question introduces the dimension of $X$ as the trancendence degree of the function field $K(X)$ over $k$. It then uses an anti-equivalence between the category of affine varieties over $k$ and that of finitely generated, reduced $k$-Algebras and Noether's normalization lemma for existence of such a morphism. It think I understand it except for the following: the coordinate ring $\mathcal{O}(X)$ is by Noether's normalization lemma a finitely generated $k[x_1,...,x_n]$-module. Let $M_P=(x_1-a_1,...,x_n-a_n)$ for any $P=(a_1,...,a_n)\in \mathbb{A}_k^n$. The book then claims that if follows that $\mathcal{O}(X)/M_P\mathcal{O}(X)$ is a finite-dimensional $k$-Algebra (Then $\mathcal{O}(X)/M_P\mathcal{O}(X)$ would only have finitely many maximal ideals which correspond to the points in the preimage of $P$ under the morphism). Why is that statement true though? I know that if in general if $A$ is a finitely generated $k$-Algebra and $M$ a maximal ideal in $A$ then $A/M$ is a finite-dimensional $k$-Algebra. But $M_P\mathcal{O}(X)$ isn't necessarily maximal, right? What am I missing?