We show that existing calculations of the interaction between nuclear Schiff moments and electrons in molecules use an inaccurate operator which gives rise to significant errors. By comparing the matrix elements of the accurate and imprecise Schiff moment operators, we calculated the correction factor as a function of the nuclear charge Z and presented corrected results for the T,P-violating interaction of the nuclear spin with the molecular axis in the TlF, RaO, PbO, TlCN, ThO, AcF molecules and in the ferroelectric solid PbTiO$_3$.