Let $k$ be a field and $A=k[x_1,\dots,x_n]\big/(I)$ where $I$ is a prime ideal and $\operatorname{dim}(A)=1$, i.e $\operatorname{Spec}(A)$ is a curve. I want to construct a dense open set $U \subset \operatorname{Spec}(A)$ such that $U$ is a normal scheme. To do this I want to take as open set, $$U=\{ x \in \operatorname{Spec}(A)| x \text{ is a smooth point}\}$$ since the notion of smoothness and normality coincide in dimension $1$. Furthermore the generic point $\eta \in \operatorname{Spec}(A)$ corresponding to the zero ideal is clearly smooth so density of $U$ follows. I'm having problems finishing the proof that $U$ is actually open.
Since $k[x_1,\dots,x_n]$ is catenary it follows by the dimension formula, $$ \operatorname{dim}(k[x_1,\dots,x_n])= \dim(A)+ \operatorname{ht}(I)$$ that $I$ has dimension $n-1$. Now this implies that the minimal number of generators of $I$ must be greater of equal to $n-1$. Let us denote the cardinality of this set $\mu(I)$ and assume that $\mu(I)=n-1$. Then we can use the Jacobian criterion for smoothness to show that $x \in \operatorname{Spec}(A)$ is smooth if and only if the rank of the Jacobian at that point is maximal. Therefore a point is not smooth if and only if the rank of the Jacobian is not maximal and this corresponds to the point $x$ satisfying some polynomial equations that clearly constitute a closed set in $\operatorname{Spec}(A)$.
However if $\mu(I)=n$ for example then this argument fails. Is there any way to fix this?