fixed a bug caused by change of Salt model