abstract: It was proved by Bakalov and Milanov that the total descendant potential associated to a simple singularity satisfies a set of linear constraints, called the $\mathcal{W}$-constraints. We prove the solution of these constraints in the formal power series ring is unique up to a multiplicative constant. The work is joint with Si-Qi Liu and Youjin Zhang.